package DBLayer;

import ModelLayer.*;

import java.util.ArrayList;

public interface IfDbCustomer
{
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);

    public Customer findCustomerByName(String name, boolean retriveAssociation);

    public int insertCustomer(Customer customer) throws Exception;

    public int updateCustomer(Customer customer);
    
    public int deleteCustomerByName(String name);
}
